define(["jquery","template","fu/template/dataExport/dataExport.tpl"],function($,template,tpl){
	var ui = {};

	var drawLoad = function(data){
		return template("dataExport_load",data);
	}
	ui.loadInit = function(options){
		$("#"+options.id).html(tpl.load());
		var h = drawLoad();
		$("#"+options.id).html(h);
	}

	var drawProject = function(data){
		return template("dataExport_project",data);
	}
	ui.projectInit = function(options){
		$("#"+options.id).html(tpl.project());
		var h = drawProject(options);
		$("#"+options.id).html(h);
	}

	return ui;
});